<T:ViewBase x:Class="WPFExcelReport.TVLORT02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    Loaded="Window_Loaded"
     >
    <T:ViewBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:TIMES100  x:Key="X100"/>
        <ucd:TIMES10  x:Key="X10"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>  
    </T:ViewBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
        <WrapPanel>
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOMANDANT:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOMANDANT}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOLKZ:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOLKZ}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOPLZ:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOPLZ}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOORT:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOORT}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOBZ:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOBZ}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOORTBEZ:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOORTBEZ}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOBZBEZ:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOBZBEZ}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOCOUNTY:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOCOUNTY}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOCITY:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOCITY}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOGTBO:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOGTBO}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=VLOORTO:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwVLORT.VLOORTO}" Width="Auto" />
            </Grid> 
        </WrapPanel>
        <WrapPanel Visibility="{Binding IsVLORT,Converter={StaticResource ResourceKey=bv}}">
                <ex:TBASE1></ex:TBASE1>
            </WrapPanel>
        </StackPanel>
        <DataGrid  Grid.Row="1"  VerticalAlignment="Top"  
                                   AutoGenerateColumns="False"
                                   EnableRowVirtualization="False"
                                   VerticalScrollBarVisibility="Auto"
                                   HorizontalScrollBarVisibility="Auto"
                                   HeadersVisibility="Column"     
                                   ItemsSource="{Binding vwVLORT}"  
                                    IsSynchronizedWithCurrentItem="True"
                                   SelectedItem="{Binding Path=dwVLORT, Mode=TwoWay}"
                                   x:Name="dlgVKP"  
                                   RowDetailsVisibilityMode="Visible" Grid.ColumnSpan="2" Margin="0,0.2,0.2,0"
                    >
            <DataGrid.Columns> 
                <DataGridTextColumn x:Name="VLOMANDANT"
                                    Binding="{Binding Path=VLOMANDANT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOMANDANT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOLKZ"
                                    Binding="{Binding Path=VLOLKZ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOLKZ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOPLZ"
                                    Binding="{Binding Path=VLOPLZ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOPLZ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORT"
                                    Binding="{Binding Path=VLOORT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOBZ"
                                    Binding="{Binding Path=VLOBZ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOBZ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORTBEZ"
                                    Binding="{Binding Path=VLOORTBEZ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORTBEZ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOBZBEZ"
                                    Binding="{Binding Path=VLOBZBEZ, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOBZBEZ}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOCOUNTY"
                                    Binding="{Binding Path=VLOCOUNTY, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOCOUNTY}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOCITY"
                                    Binding="{Binding Path=VLOCITY, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOCITY}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOGTBO"
                                    Binding="{Binding Path=VLOGTBO, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOGTBO}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORTO"
                                    Binding="{Binding Path=VLOORTO, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORTO}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORTKL1"
                                    Binding="{Binding Path=VLOORTKL1, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORTKL1}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORTKL2"
                                    Binding="{Binding Path=VLOORTKL2, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORTKL2}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORTKL3"
                                    Binding="{Binding Path=VLOORTKL3, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORTKL3}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORTKL4"
                                    Binding="{Binding Path=VLOORTKL4, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORTKL4}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORTKL5"
                                    Binding="{Binding Path=VLOORTKL5, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORTKL5}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOGTBS"
                                    Binding="{Binding Path=VLOGTBS, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOGTBS}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORTS"
                                    Binding="{Binding Path=VLOORTS, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORTS}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOLOEF1"
                                    Binding="{Binding Path=VLOLOEF1, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOLOEF1}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOSKMEF1"
                                    Binding="{Binding Path=VLOSKMEF1, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOSKMEF1}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOBKMEF1"
                                    Binding="{Binding Path=VLOBKMEF1, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOBKMEF1}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOLOEF2"
                                    Binding="{Binding Path=VLOLOEF2, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOLOEF2}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOSKMEF2"
                                    Binding="{Binding Path=VLOSKMEF2, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOSKMEF2}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOBKMEF2"
                                    Binding="{Binding Path=VLOBKMEF2, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOBKMEF2}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOLOEF3"
                                    Binding="{Binding Path=VLOLOEF3, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOLOEF3}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOSKMEF3"
                                    Binding="{Binding Path=VLOSKMEF3, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOSKMEF3}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOBKMEF3"
                                    Binding="{Binding Path=VLOBKMEF3, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOBKMEF3}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOPLZF"
                                    Binding="{Binding Path=VLOPLZF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOPLZF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORTF"
                                    Binding="{Binding Path=VLOORTF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORTF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOBZF"
                                    Binding="{Binding Path=VLOBZF, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOBZF}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOPLZE"
                                    Binding="{Binding Path=VLOPLZE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOPLZE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOORTE"
                                    Binding="{Binding Path=VLOORTE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOORTE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOBZE"
                                    Binding="{Binding Path=VLOBZE, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOBZE}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOAENZL"
                                    Binding="{Binding Path=VLOAENZL, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOAENZL}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="VLOFILLER"
                                    Binding="{Binding Path=VLOFILLER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=VLOFILLER}}"
                                    Width="Auto" />
            </DataGrid.Columns>
        </DataGrid  >
    </Grid>
</T:ViewBase> 
 
